package com.sdvdxl.mapper;

import java.util.List;

import com.sdvdxl.model.BlogEntity;
import com.sdvdxl.model.BlogTagEntity;
import com.sdvdxl.model.BlogTypeEntity;
import com.sdvdxl.model.PaggerEntity;

public interface BlogMapper {
	void add(BlogEntity blogEntity);

	List<BlogEntity> getAll();

	void del(BlogEntity blogTypeEntity);

	BlogEntity get(BlogEntity blogTypeEntity);

	List<BlogEntity> getBlogsByType(BlogTypeEntity blogTypeEntity);

	List<BlogEntity> getBlogsByTag(BlogTagEntity blogTagEntity);

	List<BlogEntity> getBlogsByTypeWithPagger(PaggerEntity<BlogEntity> paggerEntity);
}
